package model

type MajorPlan struct {
	ID         int64   `gorm:"primaryKey;column:id" json:"id"`
	SchoolId   int     `gorm:"column:school_id;default:0"json:"school_id"`
	Year       int     `gorm:"column:year;default:0"json:"year"`
	TypeId     int     `gorm:"column:type_id;size:10;not null;default:0"json:"type_id"`
	MajorName  string  `gorm:"column:major_name;size:100;not null;default:''" json:"major_name"`
	LqName     string  `gorm:"column:lq_name;size:100;not null;default:''"  json:"lq_name"`
	LqRange    string  `gorm:"column:lq_range;not null;default:''" json:"lq_range"`
	LqNum      int     `gorm:"column:lq_num;size:10;not null;default:0"json:"lq_num"`
	LqTb1      float64 `gorm:"column:lq_tb1;size:8;not null;default:0"json:"lq_tb1"`
	LqTb2      float64 `gorm:"column:lq_tb2;size:60;not null;default:0"json:"lq_tb2"`
	Cid        int     `gorm:"column:cid;not null;default:0"json:"cate_id"`
	CreateTime int64   `gorm:"column:create_time;size:10;not null;default:0"son:"create_time"`
}

func (*MajorPlan) TableName() string {
	return "fd_major_plan"
}
